import request from '@/utils/request'

export const login = (params: any) => request({
    method: 'post',
    url: '/login',
    data: params
})

export const sign = (params: any) => request({
    method: 'post',
    url: '/sign',
    data: params
})

export const check = (params: any) => request({
    method: 'get',
    url: '/check',
    params
})

export const updateSelf = (params: any) => request({
    method: 'post',
    url: '/user/updateSelf',
    data:params
})